<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>注册页面</title>
    <meta charset="UTF-8">
</head>
<body>
<body>
<div align="center">
    <form th:action="@{/user/registerUser.html}" method="post">
        <table border="2" align="center" cellspacing="0" cellpadding="0" frame="void" rules="none">
            <tr>
                <td align="right">用户名：</td>
                <td align="left"><input type="text" name="username" ></td>
            </tr>
            <tr>
                <td align="right">密码：</td>
                <td align="left"><input type="password" name="password" ></td>
            </tr>
        </table>
        <p align="center">
            <input type="submit" value="注册">
            <input type="reset" value="重置">
        </p>
    </form>
    <p style="color:red" align="center" th:text="${error}" th:if="${not #strings.isEmpty(error)}"/>
</div>
</body>